package bm.com.project.server.project.mapper;

import bm.com.project.server.common.dto.SearchBaseDTO;
import bm.com.project.server.project.entity.BmProjectMilestoneEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 项目里程碑
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2024-05-31 16:33:33
 */
@Mapper
public interface BmProjectMilestoneMapper extends BaseMapper<BmProjectMilestoneEntity> {

    /**
     * 查询列表
     * @param queue
     * @return
     */
    List<BmProjectMilestoneEntity> selectPagelist(SearchBaseDTO queue);

    /**
     * 插入数据
     * @param entity
     * @return
     */
    int insertData(BmProjectMilestoneEntity entity);
}
